package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ut_notice
 */
@Data
@TableName(value ="ut_notice")
public class UtNotice implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long noticeId;

    /**
     * 公告标题
     */
    private String noticeTitle;

    /**
     * 公告内容
     */
    private String noticeContent;

    /**
     * 发布公告管理员ID
     */
    private Long publishAdminId;

    /**
     * 公告优先级 越小越高 -1置顶
     */
    private Integer priority;

    /**
     * 面向群体 0全体 1顾客 2司机
     */
    private Integer face;

    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}